/*
 * FormValues.java
 *
 * Created on 20 marzo 2004, 12.00
 */

package net.ermannofranco.xml.schema;

/**
 * 
 * @author ermanno (ermanno.franco@gmail.com)
 */
public enum FormValues {

	QUAL, UNQUAL;

	/**
	 * @param formValue
	 * @return
	 */
	protected static String getValue(FormValues formValue) {
		switch (formValue) {
		case QUAL:
			return "qualified";
		case UNQUAL:
			return "unqualified";
		default:
			throw new IllegalArgumentException(formValue + " not supported");
		}

	}
}
